package com.example.yls.demoa;

/**
 * Created by yls on 2019/3/25.
 */

public class Student {
    private String name;
    private int age;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String toString() {
        return "name = " + name + "age" + age;
    }

}
